package com.jmb.apiplatform.mapper;

import com.jmb.apiplatform.pojo.ApiTestCaseRelyData;
import com.jmb.apiplatform.pojo.ApiTestCaseRelyDataTO;
import com.jmb.apiplatform.pojo.ApiTestCaseRelyDataVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author jinmengbo
* @description 针对表【api_test_case_rely_data(接口依赖)】的数据库操作Mapper
* @createDate 2025-02-12 16:10:11
* @Entity com.jmb.apiplatform.pojo.ApiTestCaseRelyData
*/

@Mapper
public interface ApiTestCaseRelyDataMapper {

    void deleteByRelyId(Integer id);


    void insertRelyData(ApiTestCaseRelyData relyData);

    List<ApiTestCaseRelyDataVO> selectRelyDataList(ApiTestCaseRelyDataTO ifRelyDataDTO);

    List<ApiTestCaseRelyDataVO> checkRelyName(ApiTestCaseRelyData ifRelyDataDO);

    ApiTestCaseRelyDataVO selectByRelyId(Integer id);

    ApiTestCaseRelyDataVO selectRelyDataByName(String relyName);

    void updateByRelyData(ApiTestCaseRelyData relyData);

}
